package com.ocom.common.request.company.companyrole;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
public class SetPageByRoleRequest implements Serializable {

    @NotNull(message = "comId 不能为空")
    private Integer comId;
    @NotNull(message = "roleId 不能为空")
    private Integer roleId;
    @NotNull(message = "permissionList 不能为空")
    private List<SetPermissionDto> permissionList;

}
